package cn.iinda.electronicInfo.model;

import java.text.SimpleDateFormat;
import java.util.Date;

public class ElectronicInfo {
    private String patientName;

    private String phoneNum;

    private String impression;

    private Integer reportFlag;

    private String summary;

    private String reportDr;

    private Integer studyId;

    private Integer resultId;

    private String modality;

    private Date createTime;

    private Date reportTime;

    private String examDate;

    private String examTime;

    private String studyPoint;

    private String basicMedical;

    private String patientNum;

    private String verifyDr;

    private Integer isPositive;

    private String patientGender;

    private String patientAge;

    private String finding;

    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName == null ? null : patientName.trim();
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum == null ? null : phoneNum.trim();
    }

    public String getImpression() {
        return impression;
    }

    public void setImpression(String impression) {
        this.impression = impression == null ? null : impression.trim();
    }

    public Integer getReportFlag() {
        return reportFlag;
    }

    public void setReportFlag(Integer reportFlag) {
        this.reportFlag = reportFlag;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary == null ? null : summary.trim();
    }

    public String getReportDr() {
        return reportDr;
    }

    public void setReportDr(String reportDr) {
        this.reportDr = reportDr == null ? null : reportDr.trim();
    }

    public Integer getStudyId() {
        return studyId;
    }

    public void setStudyId(Integer studyId) {
        this.studyId = studyId;
    }

    public Integer getResultId() {
        return resultId;
    }

    public void setResultId(Integer resultId) {
        this.resultId = resultId;
    }

    public String getModality() {
        return modality;
    }

    public void setModality(String modality) {
        this.modality = modality == null ? null : modality.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getReportTime() {
        return reportTime;
    }

    public void setReportTime(Date reportTime) {
        this.reportTime = reportTime;
    }

    public String getExamDate() {
        return examDate;
    }

    public void setExamDate(String examDate) {
        this.examDate = examDate == null ? null : examDate.substring(0, examDate.indexOf("."));
    }

    public String getExamTime() {
        return examTime;
    }

    public void setExamTime(String examTime) {
        this.examTime = examTime == null ? null : examTime.trim();
    }

    public String getStudyPoint() {
        return studyPoint;
    }

    public void setStudyPoint(String studyPoint) {
        this.studyPoint = studyPoint == null ? null : studyPoint.trim();
    }

    public String getBasicMedical() {
        return basicMedical;
    }

    public void setBasicMedical(String basicMedical) {
        this.basicMedical = basicMedical == null ? null : basicMedical.trim();
    }

    public String getPatientNum() {
        return patientNum;
    }

    public void setPatientNum(String patientNum) {
        this.patientNum = patientNum == null ? null : patientNum.trim();
    }

    public String getVerifyDr() {
        return verifyDr;
    }

    public void setVerifyDr(String verifyDr) {
        this.verifyDr = verifyDr == null ? null : verifyDr.trim();
    }

    public Integer getIsPositive() {
        return isPositive;
    }

    public void setIsPositive(Integer isPositive) {
        this.isPositive = isPositive;
    }

    public String getPatientGender() {
        return patientGender;
    }

    public void setPatientGender(String patientGender) {
        this.patientGender = patientGender == null ? null : patientGender.trim();
    }

    public String getPatientAge() {
        return patientAge;
    }

    public void setPatientAge(String patientAge) {
        this.patientAge = patientAge == null ? null : patientAge.trim();
    }

    public String getFinding() {
        return finding;
    }

    public void setFinding(String finding) {
        this.finding = finding == null ? null : finding.trim();
    }
}